package com.example.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.Business;
import com.example.entity.KHMS;
import com.example.util.QueryBean;
import com.example.entity.Business;
import com.example.util.page;
import com.example.util.page4;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tyhxzy
 * @since 2023-11-03
 */
public interface IBusinessService {

    Page<Map> findByParams(page page);

    Business findBusinessByName(String name);

    List<Business> findByBName(Business business);


    Business findByid(Integer id);
//商户分页
    Page<Map> findpage(page4 page4);

    int add(KHMS khms);
}
